Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Remove Method
See Also 
Leadtools.Dicom.AddIn Namespace > Generic ThreadSafeList Class : Remove Method



item
The object to remove from the Generic ICollection.
item
The object to remove from the Generic ICollection.
Removes the first occurrence of a specific object from the Generic ICollection.

Syntax

Visual Basic (Declaration) 
Public Function Remove( _
   ByVal item As T _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeList(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Remove(item)
C# 
public bool Remove( 
   T item
)
C++/CLI 
public:
bool Remove( 
   T item
) 

Parameters

item
The object to remove from the Generic ICollection.

Return Value

true if item was successfully removed from the Generic ICollection; otherwise, false. This method also returns false if item is not found in the original Generic ICollection.

Exceptions

ExceptionDescription
NotSupportedException The Generic ICollection is read-only.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features